*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Popins",sans-serif;
}
.container{
    display: flex;
    
    align-items: center;
    justify-content: center;
    white-space: nowrap; /*文本不换行*/
}

nav ul li{
    list-style: none;

    display: inline-block;
    padding: 13px 35px;
    margin: 20px;
    font-size: 18px;
    font-weight: 500;
    color: #777;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 0.5s;
}
nav ul li::after{
    content: "";
    background: #f44566 ;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: -1;
    opacity: 0;
    transition: top 0.5s,opacity 0.5s;
}
nav ul li:hover{
    color: #fff;
}
nav ul li:hover::after{
    top: 50%;
    opacity: 1;
}
.logo{
    position: relative;
    
    height: 70px;
}
